<h1>还不激活在等啥。。。。</h1>
<h3>没收到邮件？</h3>
<div>
	<div>
		邮箱：<input type="text" placeholder="输入邮箱" id="email">
	</div>
	<div><input type="button" value="重新发送激活邮件" id="send_email"/></div>
</div>
<div>已经激活？</div>
<%= link_to t("devise_page.shared.link.login"), new_session_path(resource_name) %><br />
<div>没有账号？</div>
<%= link_to t("devise_page.shared.link.sign_up"), new_registration_path(resource_name) %><br />

<script>
	$("#send_email").click(function(){
		var _email = $("#email").val();
		if(isTextNull(_email)){
			alert("邮箱不能为空");
		}else if(!CheckEmail(_email)){
			alert("邮箱不正确");
		}else{
			$.post("/active/send_email.js",{email:_email},function(msg){});
		}
	});
</script>
